type ApiResp<T> = {
  code: number;
  msg: string;
  data: T | null;
};

type AuthResp = {
  token: string;
  token_type: "Bearer";
};

type AggResp = {
  title: string;
  total: number;
};

type LoginResp = AuthResp & {
  user: User;
};

type AffResp = {
  rows: number;
};
type IdResp = {
  id: string;
};

type BoolResp = {
  result: boolean;
};

type AddUrlResp = { url: string };
